package com.project.demo.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * 餐饮订单：(CateringOrders)表实体类
 *
 */
@TableName("`catering_orders`")
@Data
@EqualsAndHashCode(callSuper = false)
public class CateringOrders implements Serializable {

    // CateringOrders编号
    @TableId(value = "catering_orders_id", type = IdType.AUTO)
    private Integer catering_orders_id;

    // 商家用户
    @TableField(value = "`merchant_users`")
    private Integer merchant_users;
    // 商家姓名
    @TableField(value = "`merchant_name`")
    private String merchant_name;
    // 民宿名称
    @TableField(value = "`name_of_homestay`")
    private String name_of_homestay;
    // 美食名称
    @TableField(value = "`food_name`")
    private String food_name;
    // 美食价格
    @TableField(value = "`food_prices`")
    private Double food_prices;
    // 普通用户
    @TableField(value = "`ordinary_users`")
    private Integer ordinary_users;
    // 用户姓名
    @TableField(value = "`user_name`")
    private String user_name;
    // 购买数量
    @TableField(value = "`purchase_quantity`")
    private Double purchase_quantity;
    // 购买总价
    @TableField(value = "`total_purchase_price`")
    private Double total_purchase_price;
    // 房间位置
    @TableField(value = "`room_location`")
    private String room_location;
    // 房间号码
    @TableField(value = "`a_room_number`")
    private String a_room_number;
    // 备注信息
    @TableField(value = "`memo`")
    private String memo;







    // 支付状态
    @TableField(value = "pay_state")
    private String pay_state;













						// 来源表
	@TableField(value = "source_table")
	private String source_table;
	
	// 来源ID
	@TableField(value = "source_id")
	private Integer source_id;
	
	// 来源用户ID
	@TableField(value = "source_user_id")
	private Integer source_user_id;
	


	// 更新时间
    @TableField(value = "update_time")
    private Timestamp update_time;

    // 创建时间
    @TableField(value = "create_time")
    private Timestamp create_time;

}
